{% extends 'core/base.html' %}

{% block title %}Add product | {% endblock %}

{% block content %}
  <h1 class="title">Add product</h1>
  <form method="post" action="." enctype="multipart/form-data">
    {% csrf_token %}

    {{ form.as_p }}

    <div class="field">
      <div class="control">
        <button class="button is-dark is-uppercase">Submit</button>
      </div>
    </div>
  </form>

  <hr>

  <h2 class="subtitle">Already have an account?</h2>
  <a href="{% url 'login' %}">Login</a>
{% endblock %}